//
//  ContactModel.m
//  BrushFace
//
//  Created by 小小旭 on 15/12/30.
//  Copyright © 2015年 Zzz. All rights reserved.
//

#import "ContactModel.h"

@implementation ContactModel

-(instancetype)initWithDic:(NSDictionary *)dic{
    self = [super init];
    if(self){
        [self loadModel:dic];
    }
    return self;
}

+(id)ModelWith:(NSDictionary *)dic{
    return [[self alloc]initWithDic:dic];
}

-(void)loadModel:(NSDictionary *)dic{
    [self setValuesForKeysWithDictionary:dic];
}

-(void)setValue:(id)value forUndefinedKey:(NSString *)key {
    
}

-(void)setNilValueForKey:(NSString *)key {
    
}

-(id)valueForUndefinedKey:(NSString *)key {
    return nil;
}

@end
